<%--
  Created by IntelliJ IDEA.
  User: 烤红薯狠辣
  Date: 2020/8/4
  Time: 17:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath(); %>
<script type="text/javascript" src="<%=path%>/static/js/jquery-3.5.1.min.js"></script>
<img src="/static/uploadImg/${param.fileName}" style="max-width: 100px">
<a href="/zhuang/upload/uploadPic">重新上传</a>
<script>
    var logo = window.parent.document.getElementById("logo");
    var license = window.parent.document.getElementById("license");
    var product = window.parent.document.getElementById("img");
    if (logo!=null){

        logo.value = "${param.fileName}";
    }
    if (license!=null){

        license.value = "${param.fileName}";
    }
    if (product!=null){

        product.value = "${param.fileName}";
    }
</script>